<div class="dux-step">
    <dl class="active" style="width: 33%">
        <dt>提交申请</dt>
        <dd class="bg"></dd>
        <dd class="node"></dd>
    </dl>

    <!--if{$info.status > 0}-->
    <dl class="active" style="width: 33%">
        <dt>等待审核</dt>
        <dd class="bg"></dd>
        <dd class="node"></dd>
    </dl>

    <!--if{$info.status > 1}-->
    <dl class="active">
        <!--{else}-->
        <dl>
            <!--{/if}-->
            <dt>
                <!--if{$info.status == 1 || $info.status == 2}-->
                退款成功
                <!--{/if}-->
                <!--if{$info.status == 3}-->
                拒绝退款
                <!--{/if}-->
            </dt>
            <dd class="node"></dd>
        </dl>
        <!--{else}-->
        <dl class="active">
            <dt>已取消</dt>
            <dd class="node"></dd>
        </dl>
        <!--{/if}-->
</div>

    <form class="am-form dux-form dux-form-ad ">
        <div class="am-form-group">
            <label class="am-form-label">申请单号</label>
            <div class="am-text-content">
                {$info.refund_no}
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-form-label">申请时间</label>
            <div class="am-text-content">
                {date('Y-m-d H:i:s', $info.create_time)}
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-form-label">退货原因</label>
            <div class="am-text-content">
                {$info.cause}
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-form-label">退款金额</label>
            <div class="am-text-content am-text-danger">
                ￥{$info.money}
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-form-label">详细原因</label>
            <div class="am-text-content">
                {$info.content}
            </div>
        </div>
        <!--if{$info.images}-->
        <div class="am-form-group">
            <label class="am-form-label">凭证</label>
            <div class="am-text-content">
                <ul class="dux-upload-list am-cf">
                    <!--loop{$info.images as $vo}-->
                    <li>
                        <a href="{$vo}" target="_blank">
                            <img src="{$vo}" alt="">
                        </a>
                    </li>
                    <!--{/loop}-->
                </ul>
            </div>
        </div>
        <!--{/if}-->


        <!--if{$info.process_time}-->
        <div class="am-form-group">
            <label class="am-form-label">处理时间</label>
            <div class="am-text-content">
                {date('Y-m-d H:i:s', $info.process_time)}
            </div>
        </div>
        <!--{/if}-->
        <!--if{$info.admin_remark}-->
        <div class="am-form-group">
            <label class="am-form-label">处理备注</label>
            <div class="am-text-content">
                {$info.admin_remark}
            </div>
        </div>
        <!--{/if}-->
        <br>
        <div class="am-form-group">
                <!--if{$info.status == 1}-->
                <a href="javascript:;" data-dux="dialog-ajaxConfirm"
                   data-url="{url('cancel', ['refund_no' => $info.refund_no])}" data-title="确认要取消退款申请?"
                   class="am-btn am-btn-danger am-btn-sm am-btn-block">取消申请</a>
                <!--{else}-->
                <a href="{url('index')}" class="am-btn am-btn-danger am-btn-sm">返回</a>
                <!--{/if}-->
        </div>
    </form>